CONFIG += C++11

HEADERS += $$PWD/QInputHooks/qinputhooks.h
SOURCES += $$PWD/QInputHooks/qinputhooks.cpp

mac {
	SOURCES += $$PWD/QInputHooks/qinputhooks_mac.cpp
	LIBS += -framework Carbon
} else:win32 {
	SOURCES += $$PWD/QInputHooks/qinputhooks_win.cpp
	LIBS += -lUser32
} else:unix {
	SOURCES += $$PWD/QInputHooks/qinputhooks_x11.cpp
    HEADERS += $$PWD/QInputHooks/qinputhooks_x11.h
	QT += x11extras
	LIBS += -lX11
}

INCLUDEPATH += $$PWD/QInputHooks
